
let fuzhouCdata = [
    {
        // 名字需要与 “common/map/maps.js” 地图数据文件里面定义的一一对应，不能是 “福州” 或者 “闽” 之类的缩写
        //   此处参考福建地图做法
        name: "鼓楼区",
        value: 999,
        elseData: {
            // 这里放置地图 tooltip 里想显示的数据
        },
    },
    {
        name: "台江区",
        value: 9,
    },
    {
        name: "仓山区",
        value: 8,
    },
    {
        name: "晋安区",
        value: 7,
    },
    {
        name: "马尾区",
        value: 6,
    },
    {
        name: "福清市",
        value: 5,
    },
    {
        name: "长乐区",
        value: 434,
    },
    {
        name: "闽侯县",
        value: 4,
    },
    {
        name: "连江县",
        value: 3,
    },
    {
        name: "闽清县",
        value: 2,
    },
    {
        name: "永泰县",
        value: 2,
    },
    {
        name: "平潭县",
        value: 2,
    },
    {
        name: "罗源县",
        value: 222,
    },
]
let fuzhouGeoCoordMap = {
    鼓楼区: [119.30, 26.08, 20],
    台江区: [119.30, 26.07, 20],
    仓山区: [119.32, 26.05, 20],
    晋安区: [119.32, 26.08, 20],
    马尾区: [119.45, 26.00, 20],
    福清市: [119.39, 25.73, 20],
    闽侯县: [119.14, 26.16, 20],
    连江县: [119.53, 26.20, 20],
    闽清县: [118.86, 26.21, 20],
    永泰县: [118.95, 25.88, 20],
    平潭县: [119.78, 25.51, 20],
    罗源县: [119.55, 26.49, 20],
    长乐区: [119.55, 26.49, 20],
}
let fuzhouSeriesData = [
    {
        name: "鼓楼区",
    },
    {
        name: "台江区",
    },
    {
        name: "仓山区",
    },
    {
        name: "晋安区",
    },
    {
        name: "马尾区",
    },
    {
        name: "福清市",
    },
    {
        name: "闽侯县",
    },
    {
        name: "连江县",
    },
    {
        name: "闽清县",
    },
    {
        name: "永泰县",
    },
    {
        name: "平潭县",
    },
]

//龙岩市数据
let longyanCdata = [
    {
        name: "龙岩市",
        value: 1,
    },
    {
        name: "新罗区",
        value: 2,
    },
    {
        name: "长汀县",
        value: 3,
    },
    {
        name: "永定区",
        value: 4,
    },
    {
        name: "上杭县",
        value: 5,
    },
    {
        name: "武平县",
        value: 6,
    },
    {
        name: "连城县",
        value: 7,
    },
    {
        name: "漳平市",
        value: 8,
    },
]
let longyanGeoCoordMap = {
    龙岩市: [117.03, 25.10, 20],
    新罗区: [117.03, 25.10, 20],
    长汀县: [116.35, 25.83, 20],
    永定区: [116.73, 24.72, 20],
    上杭县: [116.42, 25.05, 20],
    武平县: [116.10, 25.10, 20],
    连城县: [116.75, 25.72, 20],
    漳平市: [117.42, 25.30, 20],
}
let longyanSeriesData = [
    {
        name: "龙岩市",
    },
    {
        name: "新罗区",
    },
    {
        name: "长汀县",
    },
    {
        name: "永定区",
    },
    {
        name: "上杭县",
    },
    {
        name: "武平县",
    },
    {
        name: "连城县",
    },
    {
        name: "漳平市",
    },
]

//南平市数据
let nanpingCdata = [
    {
        name: "南平市",
        value: 1,
    },
    {
        name: "延平区",
        value: 2,
    },
    {
        name: "顺昌县",
        value: 3,
    },
    {
        name: "浦城县",
        value: 4,
    },
    {
        name: "光泽县",
        value: 5,
    },
    {
        name: "松溪县",
        value: 6,
    },
    {
        name: "政和县",
        value: 7,
    },
    {
        name: "邵武市",
        value: 8,
    },
    {
        name: "武夷山市",
        value: 7,
    },
    {
        name: "建瓯市",
        value: 7,
    },
    {
        name: "建阳区",
        value: 7,
    },
]
let nanpingGeoCoordMap = {
    南平市: [118.17,26.65,20],
    延平区: [118.17,26.65,20],
    顺昌县: [117.80,26.80,20],
    浦城县: [118.53,27.92,20],
    光泽县: [117.33,27.55,20],
    松溪县: [118.78,27.53,20],
    政和县: [118.85,27.37,20],
    邵武市: [117.48,27.37,20],
    武夷山市: [118.03,27.77,20],
    建瓯市: [118.32,27.03,20],
    建阳区: [118.12,27.33,20],
}
let nanpingSeriesData = [
    {
        name: "南平市",
    },
    {
        name: "延平区",
    },
    {
        name: "顺昌县",
    },
    {
        name: "浦城县",
    },
    {
        name: "光泽县",
    },
    {
        name: "松溪县",
    },
    {
        name: "政和县",
    },
    {
        name: "邵武市",
    },
    {
        name:"武夷山市"
    },
    {
        name: "建瓯市",
    },
    {
        name: "建阳区",
    },
]

//厦门市数据
let xiamenCdata = [
    {
        name: "厦门市",
        value: 1,
    },
    {
        name: "思明区",
        value: 2,
    },
    {
        name: "海沧区",
        value: 3,
    },
    {
        name: "湖里区",
        value: 4,
    },
    {
        name: "集美区",
        value: 5,
    },
    {
        name: "同安区",
        value: 6,
    },
    {
        name: "翔安区",
        value: 7,
    },
]
let xiamenGeoCoordMap = {
    厦门市: [118.08,24.48,20],
    思明区: [118.08,24.45,20],
    海沧区: [117.98,24.47,20],
    湖里区: [118.08,24.52,20],
    集美区: [118.10,24.57,20],
    同安区: [118.15,24.73,20],
    翔安区: [118.23,24.62,20]
}
let xiamenSeriesData = [
    {name: "厦门市"},
    {name: "思明区"},
    {name: "海沧区"},
    {name: "湖里区"},
    {name: "集美区"},
    {name: "同安区"},
    {name: "翔安区"},
]

//莆田市数据
let putianCdata = [
    {
        name: "城厢区",
        value: 1,
    },
    {
        name: "涵江区",
        value: 2,
    },
    {
        name: "荔城区",
        value: 3,
    },
    {
        name: "秀屿区",
        value: 4,
    },
    {
        name: "仙游县",
        value: 5,
    },

]
let putianGeoCoordMap = {
    城厢区: [119.00,25.43,20],
    涵江区: [119.10,25.45,20],
    荔城区: [119.02,25.43,20],
    秀屿区: [119.08,25.32,20],
    仙游县: [118.68,25.37,20],
}
let putianSeriesData = [
    {name: "城厢区"},
    {name: "涵江区"},
    {name: "荔城区"},
    {name: "秀屿区"},
    {name: "仙游县"},
]

//三明市数据
let sanmingCdata = [
    {
        name: "梅列区",
        value: 1,
    },
    {
        name: "三元区",
        value: 2,
    },
    {
        name: "明溪县",
        value: 3,
    },
    {
        name: "清流县",
        value: 4,
    },
    {
        name: "宁化县",
        value: 5,
    },
    {
        name: "大田县",
        value: 5,
    },
    {
        name: "尤溪县",
        value: 5,
    },
    {
        name: "沙县区",
        value: 5,
    },
    {
        name: "将乐县",
        value: 5,
    },
    {
        name: "泰宁县",
        value: 5,
    },
    {
        name: "建宁县",
        value: 5,
    },
    {
        name: "永安市",
        value: 5,
    },
]
let sanmingGeoCoordMap = {
    梅列区: [117.63,26.27,20],
    三元区: [117.60,26.23,20],
    明溪县: [117.20,26.37,20],
    清流县: [116.82,26.18,20],
    宁化县: [116.65,26.27,20],
    大田县: [117.85,25.70,20],
    尤溪县: [118.18,26.17,20],
    沙县区: [117.78,26.40,20],
    将乐县: [117.47,26.73,20],
    泰宁县: [117.17,26.90,20],
    建宁县: [116.83,26.83,20],
    永安市: [117.37,25.98,20],
}
let sanmingSeriesData = [
    {name: "梅列区"},
    {name: "三元区"},
    {name: "明溪县"},
    {name: "清流县"},
    {name: "宁化县"},
    {name: "大田县"},
    {name: "尤溪县"},
    {name: "沙县区"},
    {name: "将乐县"},
    {name: "泰宁县"},
    {name: "建宁县"},
    {name: "永安市"},
]

//泉州市数据
let quanzhouCdata = [
    {
        name: "鲤城区",
        value: 1
    },
    {
        name: "丰泽区",
        value: 1
    },
    {
        name: "洛江区",
        value: 1
    },
    {
        name: "泉港区",
        value: 1
    },
    {
        name: "惠安县",
        value: 1
    },
    {
        name: "安溪县",
        value: 1
    },
    {
        name: "永春县",
        value: 1
    },
    {
        name: "德化县",
        value: 1
    },
    {
        name: "金门县",
        value: 1
    },
    {
        name: "石狮市",
        value: 1
    },
    {
        name: "晋江市",
        value: 1
    },
    {
        name: "南安市",
        value: 1
    },
]
let quanzhouGeoCoordMap = {
    鲤城区: [118.60,24.92,20],
    丰泽区: [118.60,24.92,20],
    洛江区: [118.67,24.95,20],
    泉港区: [118.88,25.12,20],
    惠安县: [118.80,25.03,20],
    安溪县: [118.18,25.07,20],
    永春县: [118.30,25.32,20],
    德化县: [118.23,25.50,20],
    金门县: [118.32,24.43,20],
    石狮市: [118.65,24.73,20],
    晋江市: [118.58,24.82,20],
    南安市: [118.38,24.97,20],
}
let quanzhouSeriesData = [
    {name: "鲤城区"},
    {name: "丰泽区"},
    {name: "洛江区"},
    {name: "泉港区"},
    {name: "惠安县"},
    {name: "安溪县"},
    {name: "永春县"},
    {name: "德化县"},
    {name: "金门县"},
    {name: "石狮市"},
    {name: "晋江市"},
    {name: "南安市"},
]

//漳州市数据
let zhangzhouCdata = [
    {
        name: "芗城区",
        value: 1
    },
    {
        name: "龙文区",
        value: 1
    },
    {
        name: "云霄县",
        value: 1
    },
    {
        name: "漳浦县",
        value: 1
    },
    {
        name: "诏安县",
        value: 1
    },
    {
        name: "长泰区",
        value: 1
    },
    {
        name: "东山县",
        value: 1
    },
    {
        name: "南靖县",
        value: 1
    },
    {
        name: "平和县",
        value: 1
    },
    {
        name: "华安县",
        value: 1
    },
    {
        name: "龙海区",
        value: 1
    },
]
let zhangzhouGeoCoordMap = {
    芗城区: [117.65,24.52,20],
    龙文区: [117.72,24.52,20],
    云霄县: [117.33,23.95,20],
    漳浦县: [117.62,24.13,20],
    诏安县: [117.18,23.72,20],
    长泰区: [117.75,24.62,20],
    东山县: [117.43,23.70,20],
    南靖县: [117.37,24.52,20],
    平和县: [117.30,24.37,20],
    华安县: [117.53,25.02,20],
    龙海区: [117.82,24.45,20],
}
let zhangzhouSeriesData = [
    {name: "芗城区"},
    {name: "龙文区"},
    {name: "云霄县"},
    {name: "漳浦县"},
    {name: "诏安县"},
    {name: "长泰区"},
    {name: "东山县"},
    {name: "南靖县"},
    {name: "平和县"},
    {name: "华安县"},
    {name: "龙海区"},
]

//宁德市数据
let ningdeCdata = [
    {
        name: "蕉城区",
        value: 1
    },
    {
        name: "霞浦县",
        value: 1
    },
    {
        name: "古田县",
        value: 1
    },
    {
        name: "屏南县",
        value: 1
    },
    {
        name: "寿宁县",
        value: 1
    },
    {
        name: "周宁县",
        value: 1
    },
    {
        name: "柘荣县",
        value: 1
    },
    {
        name: "福安市",
        value: 1
    },
    {
        name: "福鼎市",
        value: 1
    },
]
let ningdeGeoCoordMap = {
    蕉城区: [119.52,26.67,20],
    霞浦县: [120.00,26.88,20],
    古田县: [118.75,26.58,20],
    屏南县: [118.98,26.92,20],
    寿宁县: [119.50,27.47,20],
    周宁县: [119.33,27.12,20],
    柘荣县: [119.90,27.23,20],
    福安市: [119.65,27.08,20],
    福鼎市: [120.22,27.33,20],
}
let ningdeSeriesData = [
    {name: "蕉城区"},
    {name: "霞浦县"},
    {name: "古田县"},
    {name: "屏南县"},
    {name: "寿宁县"},
    {name: "周宁县"},
    {name: "柘荣县"},
    {name: "福安市"},
    {name: "福鼎市"},
]

export function getMapData(mapName){
    switch (mapName){
        case ('福州市'):
            return {
                name: '福州市',
                cdata: fuzhouCdata,
                geoCoordMap: fuzhouGeoCoordMap,
                seriesData: fuzhouSeriesData,
            }
        case ('龙岩市'):
            return {
                name: '龙岩市',
                cdata: longyanCdata,
                geoCoordMap: longyanGeoCoordMap,
                seriesData: longyanSeriesData,
            }
        case ('南平市'):
            return {
                name: '南平市',
                cdata: nanpingCdata,
                geoCoordMap: nanpingGeoCoordMap,
                seriesData: nanpingSeriesData,
            }
        case ("厦门市"):
            return {
                name: "厦门市",
                cdata: xiamenCdata,
                geoCoordMap: xiamenGeoCoordMap,
                seriesData: xiamenSeriesData
            }
        case ("莆田市"):
            return {
                name: "莆田市",
                cdata: putianCdata,
                geoCoordMap: putianGeoCoordMap,
                seriesData: putianSeriesData
            }
        case ("三明市"):
            return {
                name: "三明市",
                cdata: sanmingCdata,
                geoCoordMap: sanmingGeoCoordMap,
                seriesData: sanmingSeriesData
            }
        case ("泉州市"):
            return {
                name: "泉州市",
                cdata: quanzhouCdata,
                geoCoordMap: quanzhouGeoCoordMap,
                seriesData: quanzhouSeriesData
            }
        case ("漳州市"):
            return {
                name: "漳州市",
                cdata: zhangzhouCdata,
                geoCoordMap: zhangzhouGeoCoordMap,
                seriesData: zhangzhouSeriesData
            }
        case ("宁德市"):
            return {
                name: "宁德市",
                cdata: ningdeCdata,
                geoCoordMap: ningdeGeoCoordMap,
                seriesData: ningdeSeriesData
            }

    }
}

export {fuzhouCdata,fuzhouGeoCoordMap,fuzhouSeriesData}